# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=auto-xor-decryptor
pkgver=7.2eb176d
pkgrel=7
groups=('blackarch' 'blackarch-crypto')
pkgdesc='Automatic XOR decryptor tool.'
arch=('any')
url='https://github.com/MRGEffitas/scripts'
license=('GPL')
makedepends=('git')
depends=('python')
source=("git+https://github.com/MRGEffitas/scripts")
sha512sums=('SKIP')

pkgver() {
  cd scripts

  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd scripts

  install -Dm 755 auto_xor_decryptor.py "$pkgdir/usr/bin/$pkgname"
}

